package com.maxwell.googleplay.factory;

import com.maxwell.googleplay.utils.UIUtils;

import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.widget.ListView;

/**
 * @author yue
 * @创建时间 2016-4-1下午4:59:08
 * @描述 TODO
 * 
 */
public class ListViewFactory {

	public static ListView createListView() {
		// 返回成功视图
		ListView listView = new ListView(UIUtils.getContext());
		// 设置listview样式
		listView.setCacheColorHint(Color.TRANSPARENT);
		listView.setSelector(new ColorDrawable(Color.TRANSPARENT));
		listView.setFastScrollEnabled(true);
		
		return listView;

	}

}
